#include "StdAfx.h"
#include "MaterialInstance.h"

#include "Material.h"

using namespace RenderSystem;

MaterialInstance::MaterialInstance( const String& rInstanceId, Material* pResMaterial )
	:Instance( rInstanceId, pResMaterial )
{
}

MaterialInstance::~MaterialInstance(void)
{
}

Material* MaterialInstance::GetMaterial( void ) const
{
	return static_cast<Material*>( this->GetResource() );
}
